package com.hyacinth.lotterysystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyacinth.lotterysystem.dao.entity.ActivityDO;
import com.hyacinth.lotterysystem.dto.req.ActivityListReq;
import com.hyacinth.lotterysystem.dto.req.CreateActivityReq;
import com.hyacinth.lotterysystem.dto.resp.ActivityDetailResp;
import com.hyacinth.lotterysystem.dto.resp.ActivityListResp;
import com.hyacinth.lotterysystem.dto.resp.CreateActivityResp;

/**
 * @Author: Yun
 * @Date: 2025/10/4
 */
public interface ActivityService extends IService<ActivityDO> {
    CreateActivityResp createActivity(CreateActivityReq param);

    IPage<ActivityListResp> selectActivityList(ActivityListReq activityListReq);

    ActivityDetailResp selectByActivityId(Long activityId);

    void cacheActivity(Long activityId);
}
